package org.xiong.disk.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Data
// 将该配置文件绑定到 application的配置文件 对应前缀为hdfs 
@ConfigurationProperties(prefix = "hdfs")
public class HdfsConfig {
    private String nameNodeUrl;
    private String hdfsUserName;
    private String hdfsDataNode;
}
